<template>
  <div class="page-home">
    <pc-component v-if="!counterStore.isMobile"></pc-component>
    <h5-component v-if="counterStore.isMobile"></h5-component>
  </div>
</template>

<script setup>
import PcComponent from './pc.vue'
import H5Component from './h5.vue'
import { useSideStore } from '@/store/state'
const counterStore = useSideStore()
</script>

<style lang="scss" scoped>
.page-home{
  overflow-y: auto;
  height: 100vh;
}
</style>